package ai.people.netmon.msgsearch.contants;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn;

@Configuration
@DependsOn({"configBeforeInit"})
public class SysContants {

    // 资源服务器地址
    public static String ES_SERVER_URL;

    @Value("${es.server.url}")
    public void setEsServerUrl(String esServerUrl) {
        ES_SERVER_URL = esServerUrl;
    }
}
